Skip to content

Refactor init template path resolution#969

Merged
burtenshaw merged 2 commits into
huggingface:mainfrom
burtenshaw:codex/refactor-init-template-path
Jul 23, 2026
Merged

Refactor init template path resolution#969
burtenshaw merged 2 commits into
huggingface:mainfrom
burtenshaw:codex/refactor-init-template-path

Conversation

@burtenshaw

Copy link
Copy Markdown
Collaborator

Summary

  • extract openenv init template path resolution into _resolve_template_path
  • add focused coverage for root and nested template directories

Tests

  • PYTHONPATH=src:envs uv run python -m pytest tests/test_cli -q
  • uv run ruff check src/openenv/cli/commands/init.py tests/test_cli/test_init.py
  • uv run ruff format --check src/openenv/cli/commands/init.py tests/test_cli/test_init.py
  • uv run usort check src/openenv/cli/commands/init.py tests/test_cli/test_init.py

@burtenshaw
burtenshaw force-pushed the codex/refactor-init-template-path branch from 5fa9a31 to d9878f1 Compare July 15, 2026 07:10
@burtenshaw
burtenshaw marked this pull request as ready for review July 23, 2026 12:00
@burtenshaw

Copy link
Copy Markdown
Collaborator Author

@greptileai

@bot-ci-comment

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@burtenshaw
burtenshaw merged commit 1f5bc49 into huggingface:main Jul 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant